package com.pzhu.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author
 * @email
 * @date 2021-05-01 15:11:29
 */
@Data
@ToString
@TableName("student")
@ApiModel(value = "Student对象", description = "")
public class StudentEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 学号
     */
    @ApiModelProperty(value = "学号")
    private String sno;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private Integer sex;
    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String icon;
    /**
     * 学院
     */
    @ApiModelProperty(value = "学院")
    private String college;
    /**
     * 专业
     */
    @ApiModelProperty(value = "专业")
    private String major;
    /**
     * 班级
     */
    @ApiModelProperty(value = "班级")
    private String zlass;
    /**
     * 政治面貌
     */
    @ApiModelProperty(value = "政治面貌")
    private String politicalStatus;
    /**
     * 民族
     */
    @ApiModelProperty(value = "民族")
    private String nationality;

}
